import request from '@/utils/request'
// 搜索(点位管理)
export const task = data => request.get('/api/vm-service/skuClass/search', {
  params: {
    ...data
  }
})
// 删除
export const deletes = classId => request.delete(`/api/vm-service/skuClass/${classId}`)

// 新增
export const add = className => request.post('/api/vm-service/skuClass', className)
// 修改m
export const revise = data => request.put(`/api/vm-service/skuClass/${data.classId}`, data)
